/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bugsandcritters;

import javax.swing.*;
/**
 *
 * @author Robert Gibbons
 */
public class GameBox extends JPanel{

    
    public GameBox()
    {
        this.setDoubleBuffered(true);
        
    }
    
    
    @Override
    public void repaint()
    {
        if(GameManager.self!=null)
            GameManager.self.Draw();
    }
}
